package com.huangfu.learning.javabase.web.dao;

import com.huangfu.learning.javabase.web.entity.User;
import com.huangfu.learning.javabase.web.entity.User;

/**
 * Created with IntelliJ IDEA.
 * Author: huangfu.daohui
 * Date: 2018/8/18
 * Time: 14:25
 * Version: 1.0
 * Description:
 **/
public interface UserDao {

    User login(User user);

    User selectByPrimaryKey(Integer id);

    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}
